﻿<controls:ChildWindow x:Class="MedLink2011.Views.Patients.ChildWindows.PatientsCW"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
mc:Ignorable="d"
Title="PatientsEditWindow"
xmlns:viewModels="clr-namespace:MedLink2011.Views.Patients.ViewModels" 
xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
xmlns:appControls="clr-namespace:MedLink2011.Controls">
<!--128 Fields --> 
    <controls:ChildWindow.Resources>
        <viewModels:PatientViewModel x:Key="PatientViewModel"></viewModels:PatientViewModel>
    </controls:ChildWindow.Resources>
    <appControls:BusyIndicator x:Name="BusyIndicator" BusyContent="Loading Patients data...." DataContext="{Binding Source={StaticResource PatientViewModel}}" Foreground="SlateGray" IsBusy="{Binding IsBusy}">
<Grid x:Name="LayoutRoot" DataContext="{Binding Source={StaticResource PatientViewModel}}" Background="WhiteSmoke" >
        <Border BorderBrush="#FF505050"  BorderThickness="2"  CornerRadius="10">
            <Border.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#EDD1DE86" Offset="0.8" />
                    <GradientStop Color="AliceBlue" Offset="1.09" />
                </LinearGradientBrush>
          </Border.Background>
<ScrollViewer x:Name="scrollViewerPatients" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" >
<Grid HorizontalAlignment="Left" x:Name="PatientsGrid" VerticalAlignment="Top">
<Grid.RowDefinitions>
<RowDefinition Height="32" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
    <ColumnDefinition Width="30" />
    <ColumnDefinition Width="Auto" />
    <ColumnDefinition Width="Auto" />
	<ColumnDefinition Width="50" />
	<ColumnDefinition Width="Auto" />
	<ColumnDefinition Width="Auto" />
    <ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>


<StackPanel Grid.Column="1" Grid.Row="1" Orientation="vertical"  >
<TextBlock Height="20" Margin="0,5" ToolTipService.ToolTip="Patient Id" ToolTipService.Placement="Right" Text="Patient Id:"  Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="First Name" ToolTipService.Placement="Right" Text="First Name:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Last Name" ToolTipService.Placement="Right" Text="Last Name:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Home Phone Number" ToolTipService.Placement="Right" Text="Home Phone Number:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Work Phone Number" ToolTipService.Placement="Right" Text="Work Phone Number:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Cell Phone Number" ToolTipService.Placement="Right" Text="Cell Phone Number:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Personal Email" ToolTipService.Placement="Right" Text="Personal Email:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Work Email" ToolTipService.Placement="Right" Text="Work Email:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Address 1" ToolTipService.Placement="Right" Text="Address 1:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Address 2" ToolTipService.Placement="Right" Text="Address 2:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Colonia" ToolTipService.Placement="Right" Text="Colonia:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Municipio" ToolTipService.Placement="Right" Text="Municipio:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Department" ToolTipService.Placement="Right" Text="Department:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Country" ToolTipService.Placement="Right" Text="Country:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Sex Gender" ToolTipService.Placement="Right" Text="Sex Gender:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Marital Status" ToolTipService.Placement="Right" Text="Marital Status:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Family" ToolTipService.Placement="Right" Text="Family:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Photo" ToolTipService.Placement="Right" Text="Photo:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Notes" ToolTipService.Placement="Right" Text="Notes:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Dob" ToolTipService.Placement="Right" Text="Dob:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Age" ToolTipService.Placement="Right" Text="Age:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Blood Type" ToolTipService.Placement="Right" Text="Blood Type:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Blood Rh" ToolTipService.Placement="Right" Text="Blood Rh:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Schedule Next Apointment" ToolTipService.Placement="Right" Text="Schedule Next Apointment:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Primary Doctor" ToolTipService.Placement="Right" Text="Primary Doctor:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Referring Doctor" ToolTipService.Placement="Right" Text="Referring Doctor:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Related To Patient" ToolTipService.Placement="Right" Text="Related To Patient:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Is Student" ToolTipService.Placement="Right" Text="Is Student:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Financial Status" ToolTipService.Placement="Right" Text="Financial Status:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Ciudad" ToolTipService.Placement="Right" Text="Ciudad:"  Margin="0,5" Foreground="#FF7635FC" FontWeight="Bold"  Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Is Deceased" ToolTipService.Placement="Right" Text="Is Deceased:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Drinks Alcohol" ToolTipService.Placement="Right" Text="Drinks Alcohol:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Smokes Light" ToolTipService.Placement="Right" Text="Smokes Light:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Smokes Heavy" ToolTipService.Placement="Right" Text="Smokes Heavy:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Does Exercises" ToolTipService.Placement="Right" Text="Does Exercises:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Average Number Meals Day" ToolTipService.Placement="Right" Text="Average Number Meals Day:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Average Soft Drinks Day" ToolTipService.Placement="Right" Text="Average Soft Drinks Day:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Coffee Cups Day" ToolTipService.Placement="Right" Text="Coffee Cups Day:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Beers Per Week" ToolTipService.Placement="Right" Text="Beers Per Week:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Wine Glasses Per Week" ToolTipService.Placement="Right" Text="Wine Glasses Per Week:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Liquour Drinks Week" ToolTipService.Placement="Right" Text="Liquour Drinks Week:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Occupation" ToolTipService.Placement="Right" Text="Occupation:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />

</StackPanel>
<StackPanel Grid.Column="2" Grid.Row="1" Orientation="vertical"  >
<TextBlock  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Patient_IdTextBox" Text="{Binding Path=CurrentPatient.Patient_Id, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" />
<TextBox ToolTipService.ToolTip="First Name" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="First_NameTextBox" Text="{Binding Path=CurrentPatient.First_Name, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="50"/>
<TextBox ToolTipService.ToolTip="Last Name" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Last_NameTextBox" Text="{Binding Path=CurrentPatient.Last_Name, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="50"/>
<TextBox ToolTipService.ToolTip="Home Phone Number" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="HomePhoneNumberTextBox" Text="{Binding Path=CurrentPatient.HomePhoneNumber, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="20"/>
<TextBox ToolTipService.ToolTip="Work Phone Number" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="WorkPhoneNumberTextBox" Text="{Binding Path=CurrentPatient.WorkPhoneNumber, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="20"/>
<TextBox ToolTipService.ToolTip="Cell Phone Number" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="CellPhoneNumberTextBox" Text="{Binding Path=CurrentPatient.CellPhoneNumber, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="20"/>
<TextBox ToolTipService.ToolTip="Personal Email" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="PersonalEmailTextBox" Text="{Binding Path=CurrentPatient.PersonalEmail, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="40"/>
<TextBox ToolTipService.ToolTip="Work Email" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="WorkEmailTextBox" Text="{Binding Path=CurrentPatient.WorkEmail, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="40"/>
<TextBox ToolTipService.ToolTip="Address 1" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Address1TextBox" Text="{Binding Path=CurrentPatient.Address1, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="100"/>
<TextBox ToolTipService.ToolTip="Address 2" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Address2TextBox" Text="{Binding Path=CurrentPatient.Address2, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="100"/>
<TextBox ToolTipService.ToolTip="Colonia" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="ColoniaTextBox" Text="{Binding Path=CurrentPatient.Colonia, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="40"/>
<TextBox ToolTipService.ToolTip="Municipio" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="MunicipioTextBox" Text="{Binding Path=CurrentPatient.Municipio, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="40"/>
<TextBox ToolTipService.ToolTip="Department" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="DepartmentTextBox" Text="{Binding Path=CurrentPatient.Department, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="40"/>
<TextBox ToolTipService.ToolTip="Country" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="CountryTextBox" Text="{Binding Path=CurrentPatient.Country, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="40"/>
<TextBox ToolTipService.ToolTip="Sex Gender" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Sex_GenderTextBox" Text="{Binding Path=CurrentPatient.Sex_Gender, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="50"/>
<TextBox ToolTipService.ToolTip="Marital Status" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="MaritalStatusTextBox" Text="{Binding Path=CurrentPatient.MaritalStatus, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="50"/>
<TextBox ToolTipService.ToolTip="Family" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="FamilyTextBox" Text="{Binding Path=CurrentPatient.Family, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Photo" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="PhotoTextBox" Text="{Binding Path=CurrentPatient.Photo, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Notes" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="NotesTextBox" Text="{Binding Path=CurrentPatient.Notes, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="350"/>
<sdk:DatePicker ToolTipService.ToolTip="Dob" ToolTipService.Placement="Right"  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="DOBDatePicker" SelectedDate="{Binding Path=CurrentPatient.DOB, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Age" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="AgeTextBox" Text="{Binding Path=CurrentPatient.Age, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Blood Type" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="BloodTypeTextBox" Text="{Binding Path=CurrentPatient.BloodType, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="25"/>
<TextBox ToolTipService.ToolTip="Blood Rh" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="BloodRhTextBox" Text="{Binding Path=CurrentPatient.BloodRh, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="10"/>
<CheckBox ToolTipService.ToolTip="Schedule Next Apointment" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Schedule_Next_ApointmentCheckBox" IsChecked="{Binding Path=CurrentPatient.Schedule_Next_Apointment, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Primary Doctor" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Primary_DoctorTextBox" Text="{Binding Path=CurrentPatient.Primary_Doctor, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="50"/>
<TextBox ToolTipService.ToolTip="Referring Doctor" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Referring_DoctorTextBox" Text="{Binding Path=CurrentPatient.Referring_Doctor, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="50"/>
<TextBox ToolTipService.ToolTip="Related To Patient" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Related_To_PatientTextBox" Text="{Binding Path=CurrentPatient.Related_To_Patient, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="50"/>
<CheckBox ToolTipService.ToolTip="Is Student" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Is_StudentCheckBox" IsChecked="{Binding Path=CurrentPatient.Is_Student, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Financial Status" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Financial_StatusTextBox" Text="{Binding Path=CurrentPatient.Financial_Status, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="50"/>
<TextBox ToolTipService.ToolTip="Ciudad" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="CiudadTextBox" Text="{Binding Path=CurrentPatient.Ciudad, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  Background="#FFFFFFDC"  MaxLength="50"/>
<CheckBox ToolTipService.ToolTip="Is Deceased" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Is_DeceasedCheckBox" IsChecked="{Binding Path=CurrentPatient.Is_Deceased, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Drinks Alcohol" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Drinks_AlcoholCheckBox" IsChecked="{Binding Path=CurrentPatient.Drinks_Alcohol, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Smokes Light" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Smokes_lightCheckBox" IsChecked="{Binding Path=CurrentPatient.Smokes_light, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Smokes Heavy" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Smokes_HeavyCheckBox" IsChecked="{Binding Path=CurrentPatient.Smokes_Heavy, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Does Exercises" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Does_ExercisesCheckBox" IsChecked="{Binding Path=CurrentPatient.Does_Exercises, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Average Number Meals Day" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Average_Number_Meals_DayTextBox" Text="{Binding Path=CurrentPatient.Average_Number_Meals_Day, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Average Soft Drinks Day" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Average_Soft_Drinks_dayTextBox" Text="{Binding Path=CurrentPatient.Average_Soft_Drinks_day, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Coffee Cups Day" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Coffee_Cups_dayTextBox" Text="{Binding Path=CurrentPatient.Coffee_Cups_day, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Beers Per Week" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Beers_per_WeekTextBox" Text="{Binding Path=CurrentPatient.Beers_per_Week, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Wine Glasses Per Week" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Wine_Glasses_per_WeekTextBox" Text="{Binding Path=CurrentPatient.Wine_Glasses_per_Week, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Liquour Drinks Week" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Liquour_Drinks_WeekTextBox" Text="{Binding Path=CurrentPatient.Liquour_Drinks_Week, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Occupation" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="OccupationTextBox" Text="{Binding Path=CurrentPatient.Occupation, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="200"/>

</StackPanel>
                        <StackPanel Margin="0,10" Grid.Column="0" Grid.Row="2" Orientation="Horizontal"  Grid.ColumnSpan="3">
                            <Button Margin="20,0,0,0" Style="{StaticResource GreenButton}" x:Name="CancelButton" Content="Cancelar"  Background="Blue" Width="75" Height="23" HorizontalAlignment="Right"  />
                            <Button Margin="20,0,0,0" Style="{StaticResource OrangeButton}" x:Name="SaveButton" Content="Guardar" Background="Green" Width="75" Height="23" HorizontalAlignment="Right" Command="{Binding SavePatientCommand}" />
                        </StackPanel>
    
           <StackPanel Orientation="Horizontal" Margin="0,20,0,0" Grid.Column="5" Grid.Row="1" >
                <StackPanel Orientation="Vertical" Margin="0"  >
                    <TextBlock Height="20" ToolTipService.ToolTip="Education" ToolTipService.Placement="Right" Text="Education:"  Margin="0,10,0,0" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Uses The Internet" ToolTipService.Placement="Right" Text="Uses The Internet:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Uses Anticonceptives" ToolTipService.Placement="Right" Text="Uses Anticonceptives:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Cigarretes Per Day" ToolTipService.Placement="Right" Text="Cigarretes Per Day:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Urgent Allergy Info" ToolTipService.Placement="Right" Text="Urgent Allergy Info:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Patient Title Profession" ToolTipService.Placement="Right" Text="Patient Title Profession:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Isss Number" ToolTipService.Placement="Right" Text="Isss Number:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Nit Number" ToolTipService.Placement="Right" Text="Nit Number:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Dui Number" ToolTipService.Placement="Right" Text="Dui Number:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Doctor Id" ToolTipService.Placement="Right" Text="Doctor Id:"  Margin="0,5"  Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Deceased Date" ToolTipService.Placement="Right" Text="Deceased Date:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Ethnic Group" ToolTipService.Placement="Right" Text="Ethnic Group:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="General Info" ToolTipService.Placement="Right" Text="General Info:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Primary Care Doctor" ToolTipService.Placement="Right" Text="Primary Care Doctor:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Marital Status" ToolTipService.Placement="Right" Text="Marital Status:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Current Insurance" ToolTipService.Placement="Right" Text="Current Insurance:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Critical Info" ToolTipService.Placement="Right" Text="Critical Info:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Pap Test Last" ToolTipService.Placement="Right" Text="Pap Test Last:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Fertile" ToolTipService.Placement="Right" Text="Fertile:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Menopause" ToolTipService.Placement="Right" Text="Menopause:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Full Term" ToolTipService.Placement="Right" Text="Full Term:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Currently Pregnant" ToolTipService.Placement="Right" Text="Currently Pregnant:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Colposcopy Last" ToolTipService.Placement="Right" Text="Colposcopy Last:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Menarche" ToolTipService.Placement="Right" Text="Menarche:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Pap Test" ToolTipService.Placement="Right" Text="Pap Test:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Colposcopy" ToolTipService.Placement="Right" Text="Colposcopy:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Menopausal" ToolTipService.Placement="Right" Text="Menopausal:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Mammography Last" ToolTipService.Placement="Right" Text="Mammography Last:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Abortions" ToolTipService.Placement="Right" Text="Abortions:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Premature" ToolTipService.Placement="Right" Text="Premature:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Mammography" ToolTipService.Placement="Right" Text="Mammography:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Breast Self Examination" ToolTipService.Placement="Right" Text="Breast Self Examination:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Second Hand Smoker" ToolTipService.Placement="Right" Text="Second Hand Smoker:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Sexuality Info" ToolTipService.Placement="Right" Text="Sexuality Info:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Sexual Practices" ToolTipService.Placement="Right" Text="Sexual Practices:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Smoking Number" ToolTipService.Placement="Right" Text="Smoking Number:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Sexual Partners" ToolTipService.Placement="Right" Text="Sexual Partners:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Eats Alone" ToolTipService.Placement="Right" Text="Eats Alone:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Home Safety" ToolTipService.Placement="Right" Text="Home Safety:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="First Sexual Encounter" ToolTipService.Placement="Right" Text="First Sexual Encounter:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Age Start Smoking" ToolTipService.Placement="Right" Text="Age Start Smoking:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Sexual Preferences" ToolTipService.Placement="Right" Text="Sexual Preferences:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />

                </StackPanel>
                <StackPanel Orientation="Vertical" Margin="0,0,10,0" Grid.Column="6" Grid.Row="1">
                    <TextBox ToolTipService.ToolTip="Education" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="EducationTextBox" Text="{Binding Path=CurrentPatient.Education, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="200"/>
<CheckBox ToolTipService.ToolTip="Uses The Internet" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Uses_the_InternetCheckBox" IsChecked="{Binding Path=CurrentPatient.Uses_the_Internet, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Uses Anticonceptives" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Uses_AnticonceptivesCheckBox" IsChecked="{Binding Path=CurrentPatient.Uses_Anticonceptives, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Cigarretes Per Day" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Cigarretes_per_dayTextBox" Text="{Binding Path=CurrentPatient.Cigarretes_per_day, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Urgent Allergy Info" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Urgent_Allergy_InfoTextBox" Text="{Binding Path=CurrentPatient.Urgent_Allergy_Info, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="1000"/>
<TextBox ToolTipService.ToolTip="Patient Title Profession" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Patient_Title_ProfessionTextBox" Text="{Binding Path=CurrentPatient.Patient_Title_Profession, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="50"/>
<TextBox ToolTipService.ToolTip="Isss Number" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="ISSS_NumberTextBox" Text="{Binding Path=CurrentPatient.ISSS_Number, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="50"/>
<TextBox ToolTipService.ToolTip="Nit Number" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="NIT_NumberTextBox" Text="{Binding Path=CurrentPatient.NIT_Number, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="50"/>
<TextBox ToolTipService.ToolTip="Dui Number" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="DUI_NumberTextBox" Text="{Binding Path=CurrentPatient.DUI_Number, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="50"/>
<TextBlock  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Doctor_IdTextBox" Text="{Binding Path=CurrentPatient.Doctor_Id, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" Visibility="Collapsed" />
<ComboBox ToolTipService.ToolTip="Doctor Id" ToolTipService.Placement="Right" Height="26" Margin="2" x:Name="Doctor_IdComboBox" ItemsSource="{Binding DoctorCollection, Mode=TwoWay}" DisplayMemberPath = "First_Name" SelectedItem="{Binding SelectedDoctor, Mode=TwoWay}" VerticalAlignment="Top" Width="150" >
<ComboBox.BorderBrush>
<SolidColorBrush Color="GreenYellow"/>
</ComboBox.BorderBrush>
</ComboBox>
<sdk:DatePicker ToolTipService.ToolTip="Deceased Date" ToolTipService.Placement="Right"  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Deceased_dateDatePicker" SelectedDate="{Binding Path=CurrentPatient.Deceased_date, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Ethnic Group" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Ethnic_GroupTextBox" Text="{Binding Path=CurrentPatient.Ethnic_Group, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="General Info" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="General_InfoTextBox" Text="{Binding Path=CurrentPatient.General_Info, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="1000"/>
<TextBox ToolTipService.ToolTip="Primary Care Doctor" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Primary_Care_DoctorTextBox" Text="{Binding Path=CurrentPatient.Primary_Care_Doctor, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Marital Status" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Marital_StatusTextBox" Text="{Binding Path=CurrentPatient.Marital_Status, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="16"/>
<TextBox ToolTipService.ToolTip="Current Insurance" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Current_InsuranceTextBox" Text="{Binding Path=CurrentPatient.Current_Insurance, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Critical Info" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Critical_InfoTextBox" Text="{Binding Path=CurrentPatient.Critical_Info, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="1000"/>
<sdk:DatePicker ToolTipService.ToolTip="Pap Test Last" ToolTipService.Placement="Right"  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Pap_Test_LastDatePicker" SelectedDate="{Binding Path=CurrentPatient.Pap_Test_Last, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Fertile" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="FertileCheckBox" IsChecked="{Binding Path=CurrentPatient.Fertile, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Menopause" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="MenopauseTextBox" Text="{Binding Path=CurrentPatient.Menopause, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Full Term" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Full_TermTextBox" Text="{Binding Path=CurrentPatient.Full_Term, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Currently Pregnant" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Currently_PregnantCheckBox" IsChecked="{Binding Path=CurrentPatient.Currently_Pregnant, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<sdk:DatePicker ToolTipService.ToolTip="Colposcopy Last" ToolTipService.Placement="Right"  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Colposcopy_LastDatePicker" SelectedDate="{Binding Path=CurrentPatient.Colposcopy_Last, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Menarche" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="MenarcheTextBox" Text="{Binding Path=CurrentPatient.Menarche, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Pap Test" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Pap_TestCheckBox" IsChecked="{Binding Path=CurrentPatient.Pap_Test, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Colposcopy" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="ColposcopyCheckBox" IsChecked="{Binding Path=CurrentPatient.Colposcopy, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Menopausal" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="MenopausalCheckBox" IsChecked="{Binding Path=CurrentPatient.Menopausal, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<sdk:DatePicker ToolTipService.ToolTip="Mammography Last" ToolTipService.Placement="Right"  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Mammography_LastDatePicker" SelectedDate="{Binding Path=CurrentPatient.Mammography_Last, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Abortions" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="AbortionsTextBox" Text="{Binding Path=CurrentPatient.Abortions, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Premature" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="PrematureTextBox" Text="{Binding Path=CurrentPatient.Premature, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Mammography" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="MammographyCheckBox" IsChecked="{Binding Path=CurrentPatient.Mammography, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Breast Self Examination" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Breast_Self_ExaminationCheckBox" IsChecked="{Binding Path=CurrentPatient.Breast_Self_Examination, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Second Hand Smoker" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Second_Hand_SmokerCheckBox" IsChecked="{Binding Path=CurrentPatient.Second_Hand_Smoker, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Sexuality Info" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Sexuality_InfoTextBox" Text="{Binding Path=CurrentPatient.Sexuality_Info, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="1000"/>
<TextBox ToolTipService.ToolTip="Sexual Practices" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Sexual_PracticesTextBox" Text="{Binding Path=CurrentPatient.Sexual_Practices, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="16"/>
<TextBox ToolTipService.ToolTip="Smoking Number" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Smoking_NumberTextBox" Text="{Binding Path=CurrentPatient.Smoking_Number, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Sexual Partners" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Sexual_PartnersTextBox" Text="{Binding Path=CurrentPatient.Sexual_Partners, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="16"/>
<CheckBox ToolTipService.ToolTip="Eats Alone" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Eats_AloneCheckBox" IsChecked="{Binding Path=CurrentPatient.Eats_Alone, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Home Safety" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Home_SafetyCheckBox" IsChecked="{Binding Path=CurrentPatient.Home_Safety, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="First Sexual Encounter" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="First_Sexual_EncounterTextBox" Text="{Binding Path=CurrentPatient.First_Sexual_Encounter, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Age Start Smoking" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Age_Start_SmokingTextBox" Text="{Binding Path=CurrentPatient.Age_Start_Smoking, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Sexual Preferences" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Sexual_PreferencesTextBox" Text="{Binding Path=CurrentPatient.Sexual_Preferences, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="16"/>

                </StackPanel>
               <StackPanel Orientation="Vertical" Margin="20,0,0,0" >
                    <TextBlock Height="20" ToolTipService.ToolTip="Sex Anal" ToolTipService.Placement="Right" Text="Sex Anal:"  Margin="0,10,0,0" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Sexual Partners Number" ToolTipService.Placement="Right" Text="Sexual Partners Number:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Car Revisions Often" ToolTipService.Placement="Right" Text="Car Revisions Often:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Uses Helmet" ToolTipService.Placement="Right" Text="Uses Helmet:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Sleep Hours" ToolTipService.Placement="Right" Text="Sleep Hours:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Number Of Meals" ToolTipService.Placement="Right" Text="Number Of Meals:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Motorcycle Rider" ToolTipService.Placement="Right" Text="Motorcycle Rider:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Excercise Minutes Day" ToolTipService.Placement="Right" Text="Excercise Minutes Day:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Ex Smoker" ToolTipService.Placement="Right" Text="Ex Smoker:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Lifestyle Info" ToolTipService.Placement="Right" Text="Lifestyle Info:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Likes To Diet" ToolTipService.Placement="Right" Text="Likes To Diet:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Uses Anticonceptive" ToolTipService.Placement="Right" Text="Uses Anticonceptive:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Uses Car Seat Belt" ToolTipService.Placement="Right" Text="Uses Car Seat Belt:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Is A Prostitute" ToolTipService.Placement="Right" Text="Is A Prostitute:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Has Sex With Prostitutes" ToolTipService.Placement="Right" Text="Has Sex With Prostitutes:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Diet Info" ToolTipService.Placement="Right" Text="Diet Info:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Eats Lots Salt" ToolTipService.Placement="Right" Text="Eats Lots Salt:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Sleep During Daytime" ToolTipService.Placement="Right" Text="Sleep During Daytime:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Drug Usage" ToolTipService.Placement="Right" Text="Drug Usage:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Prison Current" ToolTipService.Placement="Right" Text="Prison Current:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Lives In Hostile Area" ToolTipService.Placement="Right" Text="Lives In Hostile Area:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Has Electricity" ToolTipService.Placement="Right" Text="Has Electricity:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Is Single Parent" ToolTipService.Placement="Right" Text="Is Single Parent:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Average Income" ToolTipService.Placement="Right" Text="Average Income:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Works Around Gas" ToolTipService.Placement="Right" Text="Works Around Gas:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Prison In Past" ToolTipService.Placement="Right" Text="Prison In Past:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Suffers Domestic Violence" ToolTipService.Placement="Right" Text="Suffers Domestic Violence:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Has Television" ToolTipService.Placement="Right" Text="Has Television:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Has Trash Around" ToolTipService.Placement="Right" Text="Has Trash Around:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Sexual Abuse" ToolTipService.Placement="Right" Text="Sexual Abuse:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Relative In Prison" ToolTipService.Placement="Right" Text="Relative In Prison:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Works At Home" ToolTipService.Placement="Right" Text="Works At Home:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Has Telephone" ToolTipService.Placement="Right" Text="Has Telephone:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Hours Spend Outside" ToolTipService.Placement="Right" Text="Hours Spend Outside:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Drug Addiction" ToolTipService.Placement="Right" Text="Drug Addiction:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Has Water" ToolTipService.Placement="Right" Text="Has Water:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Working Children" ToolTipService.Placement="Right" Text="Working Children:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Housing" ToolTipService.Placement="Right" Text="Housing:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Teenage Pregnancy" ToolTipService.Placement="Right" Text="Teenage Pregnancy:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="School Withdrawal" ToolTipService.Placement="Right" Text="School Withdrawal:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />

                </StackPanel>
                <StackPanel Orientation="Vertical" Margin="0" >
                    <TextBox ToolTipService.ToolTip="Sex Anal" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Sex_AnalTextBox" Text="{Binding Path=CurrentPatient.Sex_Anal, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="16"/>
<TextBox ToolTipService.ToolTip="Sexual Partners Number" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Sexual_Partners_NumberTextBox" Text="{Binding Path=CurrentPatient.Sexual_Partners_Number, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Car Revisions Often" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Car_Revisions_OftenCheckBox" IsChecked="{Binding Path=CurrentPatient.Car_Revisions_Often, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Uses Helmet" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Uses_HelmetCheckBox" IsChecked="{Binding Path=CurrentPatient.Uses_Helmet, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Sleep Hours" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Sleep_HoursTextBox" Text="{Binding Path=CurrentPatient.Sleep_Hours, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Number Of Meals" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Number_Of_MealsTextBox" Text="{Binding Path=CurrentPatient.Number_Of_Meals, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Motorcycle Rider" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Motorcycle_RiderCheckBox" IsChecked="{Binding Path=CurrentPatient.Motorcycle_Rider, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Excercise Minutes Day" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Excercise_Minutes_DayTextBox" Text="{Binding Path=CurrentPatient.Excercise_Minutes_Day, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Ex Smoker" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Ex_SmokerCheckBox" IsChecked="{Binding Path=CurrentPatient.Ex_Smoker, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Lifestyle Info" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Lifestyle_InfoTextBox" Text="{Binding Path=CurrentPatient.Lifestyle_Info, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="1000"/>
<CheckBox ToolTipService.ToolTip="Likes To Diet" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Likes_to_DietCheckBox" IsChecked="{Binding Path=CurrentPatient.Likes_to_Diet, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Uses Anticonceptive" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Uses_AnticonceptiveTextBox" Text="{Binding Path=CurrentPatient.Uses_Anticonceptive, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="16"/>
<CheckBox ToolTipService.ToolTip="Uses Car Seat Belt" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Uses_Car_Seat_BeltCheckBox" IsChecked="{Binding Path=CurrentPatient.Uses_Car_Seat_Belt, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Is A Prostitute" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Is_a_ProstituteCheckBox" IsChecked="{Binding Path=CurrentPatient.Is_a_Prostitute, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Has Sex With Prostitutes" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Has_Sex_With_ProstitutesCheckBox" IsChecked="{Binding Path=CurrentPatient.Has_Sex_With_Prostitutes, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Diet Info" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Diet_InfoTextBox" Text="{Binding Path=CurrentPatient.Diet_Info, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="256"/>
<CheckBox ToolTipService.ToolTip="Eats Lots Salt" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Eats_lots_SaltCheckBox" IsChecked="{Binding Path=CurrentPatient.Eats_lots_Salt, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Sleep During Daytime" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Sleep_During_DaytimeCheckBox" IsChecked="{Binding Path=CurrentPatient.Sleep_During_Daytime, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Drug Usage" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Drug_UsageCheckBox" IsChecked="{Binding Path=CurrentPatient.Drug_Usage, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Prison Current" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Prison_CurrentCheckBox" IsChecked="{Binding Path=CurrentPatient.Prison_Current, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Lives In Hostile Area" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Lives_in_Hostile_AreaCheckBox" IsChecked="{Binding Path=CurrentPatient.Lives_in_Hostile_Area, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Has Electricity" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Has_ElectricityCheckBox" IsChecked="{Binding Path=CurrentPatient.Has_Electricity, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Is Single Parent" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Is_Single_ParentCheckBox" IsChecked="{Binding Path=CurrentPatient.Is_Single_Parent, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Average Income" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Average_IncomeTextBox" Text="{Binding Path=CurrentPatient.Average_Income, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="16"/>
<CheckBox ToolTipService.ToolTip="Works Around Gas" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Works_Around_GasCheckBox" IsChecked="{Binding Path=CurrentPatient.Works_Around_Gas, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Prison In Past" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Prison_in_PastCheckBox" IsChecked="{Binding Path=CurrentPatient.Prison_in_Past, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Suffers Domestic Violence" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Suffers_Domestic_ViolenceCheckBox" IsChecked="{Binding Path=CurrentPatient.Suffers_Domestic_Violence, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Has Television" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Has_TelevisionCheckBox" IsChecked="{Binding Path=CurrentPatient.Has_Television, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Has Trash Around" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Has_Trash_aroundCheckBox" IsChecked="{Binding Path=CurrentPatient.Has_Trash_around, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Sexual Abuse" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Sexual_AbuseCheckBox" IsChecked="{Binding Path=CurrentPatient.Sexual_Abuse, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Relative In Prison" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Relative_In_PrisonCheckBox" IsChecked="{Binding Path=CurrentPatient.Relative_In_Prison, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Works At Home" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Works_At_HomeCheckBox" IsChecked="{Binding Path=CurrentPatient.Works_At_Home, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Has Telephone" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Has_TelephoneCheckBox" IsChecked="{Binding Path=CurrentPatient.Has_Telephone, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Hours Spend Outside" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Hours_Spend_OutsideTextBox" Text="{Binding Path=CurrentPatient.Hours_Spend_Outside, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Drug Addiction" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Drug_AddictionCheckBox" IsChecked="{Binding Path=CurrentPatient.Drug_Addiction, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Has Water" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Has_WaterCheckBox" IsChecked="{Binding Path=CurrentPatient.Has_Water, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Working Children" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Working_ChildrenCheckBox" IsChecked="{Binding Path=CurrentPatient.Working_Children, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Housing" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="HousingTextBox" Text="{Binding Path=CurrentPatient.Housing, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="16"/>
<CheckBox ToolTipService.ToolTip="Teenage Pregnancy" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Teenage_PregnancyCheckBox" IsChecked="{Binding Path=CurrentPatient.Teenage_Pregnancy, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="School Withdrawal" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="School_WithdrawalCheckBox" IsChecked="{Binding Path=CurrentPatient.School_Withdrawal, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />

                </StackPanel>
            </StackPanel>
    
      
        </Grid>
        </ScrollViewer>
        </Border>
    </Grid>
    </appControls:BusyIndicator>
</controls:ChildWindow>
